package com.cskaoyan.service;

import com.cskaoyan.bean.BasePageData;
import com.cskaoyan.bean.BaseParam;
import com.cskaoyan.bean.Storage;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * Description
 *
 * @author Qiu
 * @date Created on 2021/10/18
 */
public interface StorageService {
    Storage create(HttpServletRequest req, MultipartFile file);

    BasePageData<Storage> list(String key, String name, BaseParam param);

    void delete(Storage storage);

    Storage update(Storage storage);
}
